package com.jx.driving.request;

import java.util.List;

import com.jx.driving.domain.GnssPackage;
import com.jx.driving.message.TimeTerminalRequestMessage;
import com.jx.driving.protocol.terminal.annotation.ListAnnotation;
import com.jx.driving.protocol.terminal.annotation.ObjectAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;
import com.jx.driving.request.domain.LocationAttachement;

/**
 * 位置基本信息数据格式
 * 
 * @author shenliuyang
 *
 *         2016年8月14日上午9:38:07
 */
@TerminalAnnotation
public class Terminal0x0200Request extends TimeTerminalRequestMessage {

	@ObjectAnnotation(order = 1)
	private GnssPackage gnss;

	@ListAnnotation(order = 2)
	private List<LocationAttachement> attachementList;// 附加信息

	public GnssPackage getGnss() {
		return gnss;
	}

	public void setGnss(GnssPackage gnss) {
		this.gnss = gnss;
	}

	public List<LocationAttachement> getAttachementList() {
		return attachementList;
	}

	public void setAttachementList(List<LocationAttachement> attachementList) {
		this.attachementList = attachementList;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Terminal0x0200Request [gnss=").append(gnss).append(", attachementList=").append(attachementList)
				.append("]");
		return builder.toString();
	}

}
